<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box {
      width: 400px;
      height: 400px;
      background-color: red;

      /* background-color: rgba(255, 0, 0, .5); */

      /* 元素整体透明（包括内容） */
      opacity: .4;
    }
  </style>
</head>
<body>
  <div class="box">
    <img src="./07案例.jpg" alt="">第那也六笔
  </div>
</body>
</html>